package zhxt.helmet.pojo;

import java.util.ArrayList;
import java.util.List;

public class User {
    //数据库属性
    private int id;
    private String name;
    private String password;
    private int func;
    private int provinceId;
    private String provinceName;
    private int cityId;
    private String cityName;
    private int districtId;
    private String districtName;
    private int blockId;
    private String blockName;

    public void setUser(int id, String name, String password, int func,
                int provinceId, String provinceName,
                int cityId, String cityName,
                int districtId, String districtName,
                int blockId, String blockName) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.func = func;
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.districtId = districtId;
        this.districtName = districtName;
        this.blockId = blockId;
        this.blockName = blockName;
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public int getFunc() {
        return func;
    }
    public void setFunc(int func) {
        this.func = func;
    }
    public int getProvinceId() {
        return provinceId;
    }
    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }
    public String getProvinceName() {
        return provinceName;
    }
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
    public int getCityId() {
        return cityId;
    }
    public void setCityId(int cityId) {
        this.cityId = cityId;
    }
    public String getCityName() {
        return cityName;
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    public int getDistrictId() {
        return districtId;
    }
    public void setDistrictId(int districtId) {
        this.districtId = districtId;
    }
    public String getDistrictName() {
        return districtName;
    }
    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }
    public int getBlockId() {
        return blockId;
    }
    public void setBlockId(int blockId) {
        this.blockId = blockId;
    }
    public String getBlockName() {
        return blockName;
    }
    public void setBlockName(String blockName) {
        this.blockName = blockName;
    }


}
